﻿using System;
using System.Net;
using System.Xml.Linq;

namespace ArmoryBrowser.Entities
{
    public class Strength : BaseStat
    {
        #region Fields
        private string _attackField;
        private string _blockField;
        #endregion
        #region Properties
        public string Attack
        {
            get
            {
                return this._attackField;
            }
            set
            {
                this._attackField = value;
            }
        }

        public string Block
        {
            get
            {
                return this._blockField;
            }
            set
            {
                this._blockField = value;
            }
        }
        #endregion
        #region Constructor
        public Strength(XElement element) : base(element)
        {
            Attack = element.GetAttributeValue("attack");
            Block = element.GetAttributeValue("block");
        }
        #endregion
    }
}
